import Vue from 'vue'
Vue.config.productionTip = false
const testsContext = require.context('./specs', true, /\.spec$/)
testsContext.keys().forEach(testsContext)
import * as filters from '@/filters'
/* 注册全局的过滤器函数 */
Object.keys(filters).forEach(key => {
  Vue.filter(key, filters[key])
})
